Add Method

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Overload List

NameDescription
Public methodAdd(KeyValuePair<(Of <TKey, ICollection<(Of <TValue>)>>)>)
Adds a key-value pair to the collection. The value part of the pair must be a collection of values to associate with the key. If values are already associated with the given key, the new values are added to the ones associated with that key.
(Inherited from MultiDictionaryBase<(Of <TKey, TValue>)>.)
Public methodAdd(TKey, TValue)

Adds a new value to be associated with a key. If duplicate values are permitted, this method always adds a new key-value pair to the dictionary.

If duplicate values are not permitted, and key already has a value equal to value associated with it, then that value is replaced with value, and the number of values associate with key is unchanged.

(Overrides MultiDictionaryBase<(Of <TKey, TValue>)>..::Add(TKey, TValue).)

See Also